package com.sc.nft.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class AdminRedPakcetRuleAddDTO {
    @ApiModelProperty("最小的区间开始")
    @NotNull
    private Integer min;
    @ApiModelProperty("最大的区间结束")
    @NotNull
    private Integer max;
    @ApiModelProperty(value = "藏品id 居民卡:116   城主卡:117")
    private Long collectionId;
    @ApiModelProperty("操作类型  0:直接购买 1:合成")
    private Integer type;
    @ApiModelProperty("单次单笔给多少钱")
    private BigDecimal price;
    @ApiModelProperty("给多少次")
    private Integer sum;
}
